extern currWindow:dword
extern cdeg:dword
extern pindeg:dword
extern pinnum:dword
extern psin :dword
extern pcos :dword
extern ginterval :dword